HTML - tags - ins tag

revision:


Content

"ins" tag : defines a text that has been inserted syntax some examples


"ins" tag : defines a text that has been inserted

top

The <ins> tag defines a text that has been inserted into a document. Browsers will usually underline inserted text.

Attributes: the <ins> element supports the global attributes and events attributes.

There are two attributes that can be used to provide additional information about the reason a change was made to a document:

cite ; value: URL; specifies a URL to a document that explains the reason why the text was inserted/changed

datetime ; value: YYYY-MM-DDThh:mm:ssTZD; specifies the date and time of when the text was inserted/changed


syntax

top

<ins> . . . </ins>


some examples

top

My favorite color is blue red!

Codes:

                    <p class="spec">My favorite color is <del>blue</del> <ins>red</ins>!</p>
                

“You're late!”

“I apologize for the delay.”

“A wizard is never late …”

Codes:

                    <p class="spec">“You're late!”</p>
                    <del>
                        <p class="spec">“I apologize for the delay.”</p>
                    </del>
                    <ins cite="../howtobeawizard.html" datetime="2018-05">
                        <p class="spec">“A wizard is never late …”</p>
                    </ins>